package com.scau.XFourPOS.service;

import java.io.Serializable;

import com.scau.XFourPOS.dao.BaseDao;
import com.scau.XFourPOS.utils.PageUtils;

public interface BaseService<T> {
	public T loadEntityById(final Serializable id);
	public void saveOrUpdateEntity(final T entity);
	public void deleteEntity(final T entity);
	public void deleteEntityById(final Serializable id);
	public PageUtils<T> getAll(final PageUtils<T> page);
}
